//
//  MHUser.m
// MiaoCircle
//
//Created by acgera on 2018/4/9.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHUser.h"

@implementation MHUser
    + (NSDictionary *)modelCustomPropertyMapper {
        return @{@"screenName"         : @[@"nickName",@"userName"],
                 @"profileImageUrl"    : @"profile_image_url",
                 @"avatarLarge"        : @"avatar_large",
                 @"idstr"              : @"userId",
                 @"allHeadPath"        : @[@"allHeadPic",@"allHeadPath"],
                 };
    }


/// 实现
//- (BOOL)isEqual:(MHUser *)object
//{
//    /// 重写比对规则
//    if([object isKindOfClass:[self class]])
//    {
//        return [self.idstr isEqualToString:object.idstr];
//    }
//    return [super isEqual:object];
//}
//
//
//- (instancetype)init
//{
//    self = [super init];
//    if (self) {
//        _coverImage = MHImageNamed(@"Kris");
//    }
//    return self;
//}
@end
